package cn.zxd.member.quote.dao;

import cn.zxd.member.quote.vo.*;

import java.util.Map;
import java.util.List;

/**
 * Created by DaoCreator (daoInterface.jt)
 */
public interface QuoteDao {
//#appendbegin
    //==============Quote==============
    public void insertQuote(Quote vo);
    public void updateQuote(Quote vo);

    public void deleteQuote(Quote vo);
    public void deleteQuoteByPrimaryKey(String sn );
    public void deleteQuoteByParam(Object... param);
    public void deleteQuoteByParam(Map<String, Object> param);

    public QuoteSO getQuoteByPrimaryKey(String sn );
    
    public int getQuoteCountByPrimaryKey(String sn );
    public int getQuoteCountByParam(Object... param);
    public int getQuoteCountByParam(Map<String, Object> param);

    public List<QuoteSO> getQuoteListByParam(String orderBy, Object... param);
    public List<QuoteSO> getQuoteListByParam(int page, int count, String orderBy, Object... param);
    public List<QuoteSO> getQuoteListByParam(String orderBy, Map<String, Object> param);
    public List<QuoteSO> getQuoteListByParam(String orderBy, Map<String, Object> param, int page, int count);
    public List<QuoteSO> getAllQuoteList(String orderBy);
    //==============end of Quote==============	
//#appendend   

    //==============Quote_Drvier==============
    public void insertQuoteDrvier(QuoteDrvier vo);
    public void updateQuoteDrvier(QuoteDrvier vo);

    public void deleteQuoteDrvier(QuoteDrvier vo);
    public void deleteQuoteDrvierByPrimaryKey(String sn );
    public void deleteQuoteDrvierByParam(Object... param);
    public void deleteQuoteDrvierByParam(Map<String, Object> param);

    public QuoteDrvier getQuoteDrvierByPrimaryKey(String sn );
    
    public int getQuoteDrvierCountByPrimaryKey(String sn );
    public int getQuoteDrvierCountByParam(Object... param);
    public int getQuoteDrvierCountByParam(Map<String, Object> param);

    public List<QuoteDrvier> getQuoteDrvierListByParam(String orderBy, Object... param);
    public List<QuoteDrvier> getQuoteDrvierListByParam(int page, int count, String orderBy, Object... param);
    public List<QuoteDrvier> getQuoteDrvierListByParam(String orderBy, Map<String, Object> param);
    public List<QuoteDrvier> getQuoteDrvierListByParam(String orderBy, Map<String, Object> param, int page, int count);
    public List<QuoteDrvier> getAllQuoteDrvierList(String orderBy);
    //==============end of Quote_Drvier==============	



    //==============Quote_InsDetail==============
    public void insertQuoteInsDetail(QuoteInsDetail vo);
    public void updateQuoteInsDetail(QuoteInsDetail vo);

    public void deleteQuoteInsDetail(QuoteInsDetail vo);
    public void deleteQuoteInsDetailByPrimaryKey(String sn );
    public void deleteQuoteInsDetailByParam(Object... param);
    public void deleteQuoteInsDetailByParam(Map<String, Object> param);

    public QuoteInsDetail getQuoteInsDetailByPrimaryKey(String sn );
    
    public int getQuoteInsDetailCountByPrimaryKey(String sn );
    public int getQuoteInsDetailCountByParam(Object... param);
    public int getQuoteInsDetailCountByParam(Map<String, Object> param);

    public List<QuoteInsDetail> getQuoteInsDetailListByParam(String orderBy, Object... param);
    public List<QuoteInsDetail> getQuoteInsDetailListByParam(int page, int count, String orderBy, Object... param);
    public List<QuoteInsDetail> getQuoteInsDetailListByParam(String orderBy, Map<String, Object> param);
    public List<QuoteInsDetail> getQuoteInsDetailListByParam(String orderBy, Map<String, Object> param, int page, int count);
    public List<QuoteInsDetail> getAllQuoteInsDetailList(String orderBy);
    //==============end of Quote_InsDetail==============	



    //==============Quote_ValueAdd==============
    public void insertQuoteValueAdd(QuoteValueAdd vo);
    public void updateQuoteValueAdd(QuoteValueAdd vo);

    public void deleteQuoteValueAdd(QuoteValueAdd vo);
    public void deleteQuoteValueAddByPrimaryKey(String sn );
    public void deleteQuoteValueAddByParam(Object... param);
    public void deleteQuoteValueAddByParam(Map<String, Object> param);

    public QuoteValueAdd getQuoteValueAddByPrimaryKey(String sn );
    
    public int getQuoteValueAddCountByPrimaryKey(String sn );
    public int getQuoteValueAddCountByParam(Object... param);
    public int getQuoteValueAddCountByParam(Map<String, Object> param);

    public List<QuoteValueAdd> getQuoteValueAddListByParam(String orderBy, Object... param);
    public List<QuoteValueAdd> getQuoteValueAddListByParam(int page, int count, String orderBy, Object... param);
    public List<QuoteValueAdd> getQuoteValueAddListByParam(String orderBy, Map<String, Object> param);
    public List<QuoteValueAdd> getQuoteValueAddListByParam(String orderBy, Map<String, Object> param, int page, int count);
    public List<QuoteValueAdd> getAllQuoteValueAddList(String orderBy);
    //==============end of Quote_ValueAdd==============	


}
